package com.fire.social.entity.node;

import com.fire.social.entity.BaseNode;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.neo4j.ogm.annotation.NodeEntity;
import org.springframework.data.neo4j.core.schema.Node;
import org.springframework.data.neo4j.core.schema.Property;

@EqualsAndHashCode(callSuper = true)
@Data
@NodeEntity(label = "Hobby")
public class Hobby extends BaseNode {

    @Property(name = "hname")
    private String hname;
    @Property(name = "htype")
    private String htype;
}
